{template 'member', 'header'}
<script type="text/javascript" src="{JS_PATH}formvalidator.js" charset="UTF-8"></script>
<script type="text/javascript" src="{JS_PATH}formvalidatorregex.js" charset="UTF-8"></script>
<link href="{CSS_PATH}dialog.css" rel="stylesheet" type="text/css" />
<link href="{CSS_PATH}member.css" rel="stylesheet" type="text/css" />
<link href="{CSS_PATH}table_form.css" rel="stylesheet" type="text/css" />
<script language="javascript" type="text/javascript" src="{JS_PATH}member_common.js"></script>
<script language="javascript" type="text/javascript" src="{JS_PATH}dialog.js"></script>
<script language="JavaScript">
<!--
$(function(){
	$.formValidator.initConfig({autotip:true,formid:"myform",onerror:function(msg){}});
	$("#old_password").formValidator({onshow:"{L('input').L('password')}",onfocus:"{L('password').L('between_6_to_20')}"}).inputValidator({min:0,max:20,onerror:"{L('password').L('between_6_to_20')}"});
	$("#password").formValidator({onshow:"{L('input').L('password')}",onfocus:"{L('password').L('between_6_to_20')}"}).inputValidator({min:0,max:20,onerror:"{L('password').L('between_6_to_20')}"});
	$("#repassword").formValidator({onshow:"{L('input').L('cofirmpwd')}",onfocus:"{L('input').L('passwords_not_match')}",oncorrect:"{L('passwords_match')}"}).compareValidator({desid:"password",operateor:"=",onerror:"{L('input').L('passwords_not_match')}"});	
});
//-->
</script>
<div id="memberArea" class="realwrap clear">
	{template 'member', 'left'}
<div class="col-auto">
<div class="col-1 ">
<h6 class="title">商家资料修改</h6>
<div class="content">

				<form method="post" action="{APP_PATH}index.php?m=member&c=index&a=account_manage_info" id="myform" name="myform" enctype="multipart/form-data">
					<table width="100%" cellspacing="0" class="table_form">
						<tr>
						{loop $forminfos $k $v}
						<tr>
							<th width="100">{if $v['isbase']}<font color=red>*</font>{/if} {$v['name']}：{if $v['tips']}<br />({$v['tips']}){/if}</th> 
							<td>{$v['form']}</td>
						</tr>
						{/loop}
						<tr>
							<th width="80">{L('old_password')}：</th>        
							<td><input name="old_password" type="password" id="old_password" size="30" value="" class="input-text"></td>
						</tr>
						<tr>
							<th>{L('new_password')}：</th>
							<td><input name="password" type="password" id="password" size="30" value="" class="input-text"></td>
						</tr>
						<tr>
							<th>{L('re_input').L('new_password')}：</th>
							<td><input name="repassword" type="password" id="repassword" size="30" value="" class="input-text"></td>
						</tr>
						<tr>
							<th></th>
							<td><input name="dosubmit" type="submit" id="dosubmit" value="{L('submit')}" class="button"></td>
						</tr>
					</table>
					
					
				</form>
			</div>
		</div>

	</div>
</div>

{template 'content', 'footer'}